﻿using System;
using System.Linq;
using Csla;
using Csla.Data;
using Csla.Serialization;
using BizControl.DalLinq;
using BizControl.Library.Security;
using System.Security;
using BizControl.Resources;
using BizControl.Library.BusinessObjects.Models;

namespace BizControl.Library.BusinessObjects.Marks
{
  [Serializable()]
  public class ActivityMarkList : ReadOnlyListBase<ActivityMarkList, MarkInfo>
  {
    internal void AllowChange()
    {
      IsReadOnly = false;
    }

    internal void ForbidChange()
    {
      IsReadOnly = true;
    }

    #region  Factory Methods

    internal static ActivityMarkList NewActivityMarkList()
    {
      return DataPortal.Create<ActivityMarkList>();
    }

    private ActivityMarkList()
    { /* require use of factory methods */ }

    #endregion

    #region  Data Access

    private void DataPortal_Create()
    {
    }

    #endregion

  }
}
